<?include ($_SERVER ["DOCUMENT_ROOT"] . "/lib/module/conn_db.php");?>
<?include ($_SERVER ["DOCUMENT_ROOT"] . "/lib/module/Util.php");?>
<?php //DB Open

	$result = null;
	$db = new MyDB ( false );
	$db->err_report = true;

?>
<?php

	$util = new Util();

	$sid = $_GET['sid'];

	$where = "where category_sid=".$sid;

	$sql = "SELECT category_history2 from tb_category ".$where;
	$db->query ( $sql );
	$query = $db->result;
	$total = mysql_num_rows ($query);
	if($total>0) $root = mysql_fetch_object($query);

?>
<?php //DB Close

	$db->close ();

?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <title> New Document </title>
 </head>

 <body style="background-color:transparent"  oncontextmenu="return false" onselectstart="return false" ondragstart="return false">
  <?php echo $root->category_history2;?>
 </body>
</html>
